mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-03 17:14:46 +00:00
Changed: #880 disabled PCH for opengl driver if WITH_COCOA (PCH does not work with objc)
This commit is contained in:
parent
974b71801e
commit
355d3c1a58
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
FILE(GLOB SRC *.cpp *.h *.def)
|
||||
IF(WITH_COCOA)
|
||||
FILE(GLOB MAC_SRC mac/*.h mac/*.m mac/*.mm mac/*.cpp)
|
||||
SET(SRC ${SRC} ${MAC_SRC})
|
||||
SET(SRC ${SRC} ${MAC_SRC})
|
||||
ENDIF(WITH_COCOA)
|
||||
|
||||
IF(WIN32)
|
||||
|
@ -52,7 +52,9 @@ ENDIF(WIN32)
|
|||
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
ADD_NATIVE_PRECOMPILED_HEADER(${NLDRV_OGL_LIB} ${CMAKE_CURRENT_SOURCE_DIR}/stdopengl.h ${CMAKE_CURRENT_SOURCE_DIR}/stdopengl.cpp)
|
||||
IF(NOT WITH_COCOA)
|
||||
ADD_NATIVE_PRECOMPILED_HEADER(${NLDRV_OGL_LIB} ${CMAKE_CURRENT_SOURCE_DIR}/stdopengl.h ${CMAKE_CURRENT_SOURCE_DIR}/stdopengl.cpp)
|
||||
ENDIF(NOT WITH_COCOA)
|
||||
|
||||
INSTALL(TARGETS ${NLDRV_OGL_LIB} LIBRARY DESTINATION lib RUNTIME DESTINATION bin COMPONENT drivers3d)
|
||||
IF(WITH_MAXPLUGIN)
|
||||
|
|
Loading…
Reference in a new issue