From 77e2bf539f21431d5b0b883d5113a2e396a3233e Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Sat, 11 Mar 2017 08:49:29 +0000 Subject: [PATCH] Buildfix for external projects using cloonelgraphics directly. --- src/cloonelgraphics/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cloonelgraphics/CMakeLists.txt b/src/cloonelgraphics/CMakeLists.txt index 61383a5..bcd9738 100644 --- a/src/cloonelgraphics/CMakeLists.txt +++ b/src/cloonelgraphics/CMakeLists.txt @@ -14,7 +14,6 @@ target_link_libraries(${PROJECT_NAME} PRIVATE ${SDL2_LIBRARIES} PRIVATE ${PHYSFS_LIBRARY} PRIVATE ${PNG_LIBRARIES} - PUBLIC CloonelJumpProject ) target_include_directories(${PROJECT_NAME} @@ -26,5 +25,10 @@ target_include_directories(${PROJECT_NAME} PUBLIC ../../lib/tree-3.1/src ) +target_compile_definitions(${PROJECT_NAME} + PUBLIC VWR_STATIC_CAST_RESULTS + PUBLIC VWR_SIZE_TYPE=uint32_t +) + set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)