CMake: use same test for referencing and generating freeglutdll.def
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1158 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
977a9f1e6b
commit
ea875680a5
@ -76,7 +76,7 @@ IF(WIN32)
|
|||||||
src/mswin/fg_window_mswin.c
|
src/mswin/fg_window_mswin.c
|
||||||
${CMAKE_BINARY_DIR}/freeglut.rc # generated below from freeglut.rc.in
|
${CMAKE_BINARY_DIR}/freeglut.rc # generated below from freeglut.rc.in
|
||||||
)
|
)
|
||||||
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
|
||||||
LIST(APPEND FREEGLUT_SRCS
|
LIST(APPEND FREEGLUT_SRCS
|
||||||
${CMAKE_BINARY_DIR}/freeglutdll.def # generated below from src/freeglutdll.def.in
|
${CMAKE_BINARY_DIR}/freeglutdll.def # generated below from src/freeglutdll.def.in
|
||||||
|
Reference in New Issue
Block a user