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:
parent
0cfd678fda
commit
cb228b70f0
@ -220,8 +220,8 @@ IF(WIN32)
|
||||
# we also have to generate freeglut.rc, which contains the version
|
||||
# number
|
||||
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/freeglut.rc.in ${CMAKE_BINARY_DIR}/freeglut.rc)
|
||||
IF (NOT CMAKE_CL_64)
|
||||
# .def file only for 32bit Windows builds
|
||||
IF (MSVC AND NOT CMAKE_CL_64)
|
||||
# .def file only for 32bit Windows builds with Visual Studio
|
||||
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/src/freeglutdll.def.in ${CMAKE_BINARY_DIR}/freeglutdll.def)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
Reference in New Issue
Block a user