oops, generating freeglutdll.def was not specific to MSVC

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1137 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2012-03-15 03:06:42 +00:00
parent 0cfd678fda
commit cb228b70f0

View File

@ -220,8 +220,8 @@ IF(WIN32)
# we also have to generate freeglut.rc, which contains the version # we also have to generate freeglut.rc, which contains the version
# number # number
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/freeglut.rc.in ${CMAKE_BINARY_DIR}/freeglut.rc) CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/freeglut.rc.in ${CMAKE_BINARY_DIR}/freeglut.rc)
IF (NOT CMAKE_CL_64) IF (MSVC AND NOT CMAKE_CL_64)
# .def file only for 32bit Windows builds # .def file only for 32bit Windows builds with Visual Studio
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/src/freeglutdll.def.in ${CMAKE_BINARY_DIR}/freeglutdll.def) CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/src/freeglutdll.def.in ${CMAKE_BINARY_DIR}/freeglutdll.def)
ENDIF() ENDIF()
ENDIF() ENDIF()