CMake: Remove broken addition of GLEW_DEFINITIONS to openclonk

This only didn't break earlier because this code was located before
find_package(GLEW). The add_definitions(${GLEW_DEFINITIONS}) call that
actually adds the macro is a bit broad, but the macro doesn't harm the
targets that do not use GLEW.
shapetextures
Günther Brammer 2015-12-29 01:48:24 +01:00
parent 6051c3e171
commit 4f64d13fc0
1 changed files with 0 additions and 3 deletions

View File

@ -1148,9 +1148,6 @@ endif()
if(USE_COCOA)
target_link_libraries(openclonk "-framework Cocoa -framework AppKit -framework Quartz -framework OpenAL -framework AudioToolbox")
endif()
if (GLEW_FOUND)
set_property(TARGET openclonk APPEND PROPERTY COMPILE_DEFINITIONS ${GLEW_DEFINITIONS})
endif()
add_executable(openclonk-server
${OC_SYSTEM_SOURCES}