forked from Mirrors/openclonk
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
parent
6051c3e171
commit
4f64d13fc0
|
@ -1148,9 +1148,6 @@ endif()
|
||||||
if(USE_COCOA)
|
if(USE_COCOA)
|
||||||
target_link_libraries(openclonk "-framework Cocoa -framework AppKit -framework Quartz -framework OpenAL -framework AudioToolbox")
|
target_link_libraries(openclonk "-framework Cocoa -framework AppKit -framework Quartz -framework OpenAL -framework AudioToolbox")
|
||||||
endif()
|
endif()
|
||||||
if (GLEW_FOUND)
|
|
||||||
set_property(TARGET openclonk APPEND PROPERTY COMPILE_DEFINITIONS ${GLEW_DEFINITIONS})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable(openclonk-server
|
add_executable(openclonk-server
|
||||||
${OC_SYSTEM_SOURCES}
|
${OC_SYSTEM_SOURCES}
|
||||||
|
|
Loading…
Reference in New Issue