From a379a88a6421137f8cab0a6f3ce2d91e64aad53c Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 12 May 2012 20:54:37 +0200 Subject: [PATCH] Fixed: Renable PCH under for OpenGL driver under Mac OS X --- code/nel/src/3d/driver/opengl/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/CMakeLists.txt b/code/nel/src/3d/driver/opengl/CMakeLists.txt index d90c7e0b3..0c2a83588 100644 --- a/code/nel/src/3d/driver/opengl/CMakeLists.txt +++ b/code/nel/src/3d/driver/opengl/CMakeLists.txt @@ -57,9 +57,9 @@ IF(UNIX AND NOT APPLE) ENDIF(X11_Xcursor_FOUND) ENDIF(UNIX AND NOT APPLE) -IF(NOT APPLE AND WITH_PCH) +IF(WITH_PCH) ADD_NATIVE_PRECOMPILED_HEADER(${NLDRV_OGL_LIB} ${CMAKE_CURRENT_SOURCE_DIR}/stdopengl.h ${CMAKE_CURRENT_SOURCE_DIR}/stdopengl.cpp) -ENDIF(NOT APPLE AND WITH_PCH) +ENDIF(WITH_PCH) IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC_DRIVERS) OR NOT WITH_STATIC_DRIVERS) INSTALL(TARGETS ${NLDRV_OGL_LIB} LIBRARY DESTINATION ${NL_DRIVER_PREFIX} ARCHIVE DESTINATION lib RUNTIME DESTINATION bin COMPONENT drivers3d)