mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 04:42:20 +02:00
cmake cleanup
This commit is contained in:
parent
bfcc78c57d
commit
b1d1cfee44
1 changed files with 1 additions and 14 deletions
|
@ -10,7 +10,7 @@ if (APPLE)
|
|||
# link in required OS X frameworks and include the right GL headers
|
||||
find_library(OpenGL OpenGL)
|
||||
|
||||
target_link_libraries(${TARGET_NAME} ${OpenGL})
|
||||
#target_link_libraries(${TARGET_NAME} ${OpenGL})
|
||||
|
||||
else (APPLE)
|
||||
find_package(OpenGL REQUIRED)
|
||||
|
@ -19,8 +19,6 @@ else (APPLE)
|
|||
include_directories(SYSTEM "${OPENGL_INCLUDE_DIR}")
|
||||
endif ()
|
||||
|
||||
#target_link_libraries(${TARGET_NAME} "${OPENGL_LIBRARY}")
|
||||
|
||||
# link target to external libraries
|
||||
if (WIN32)
|
||||
find_package(GLEW REQUIRED)
|
||||
|
@ -28,17 +26,6 @@ else (APPLE)
|
|||
|
||||
# we're using static GLEW, so define GLEW_STATIC
|
||||
add_definitions(-DGLEW_STATIC)
|
||||
|
||||
#target_link_libraries(${TARGET_NAME} "${GLEW_LIBRARIES}" "${NSIGHT_LIBRARIES}" opengl32.lib)
|
||||
|
||||
# try to find the Nsight package and add it to the build if we find it
|
||||
#find_package(NSIGHT)
|
||||
#if (NSIGHT_FOUND)
|
||||
# include_directories(${NSIGHT_INCLUDE_DIRS})
|
||||
# add_definitions(-DNSIGHT_FOUND)
|
||||
# #target_link_libraries(${TARGET_NAME} "${NSIGHT_LIBRARIES}")
|
||||
#endif ()
|
||||
|
||||
endif()
|
||||
endif (APPLE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue