From 396966637c018be808f25f3305bce36a11101f2c Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Fri, 16 Mar 2012 20:43:29 +0000 Subject: [PATCH] CMake: use same test for referencing and generating freeglutdll.def git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1158 7f0cb862-5218-0410-a997-914c9d46530a --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 369e03c..b1e2752 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ IF(WIN32) src/mswin/fg_window_mswin.c ${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 LIST(APPEND FREEGLUT_SRCS ${CMAKE_BINARY_DIR}/freeglutdll.def # generated below from src/freeglutdll.def.in -- 1.7.10.4