Buildfix for external projects using cloonelgraphics directly.

This commit is contained in:
King_DuckZ 2017-03-11 08:49:29 +00:00
parent 6ce7b57882
commit 77e2bf539f

View file

@ -14,7 +14,6 @@ target_link_libraries(${PROJECT_NAME}
PRIVATE ${SDL2_LIBRARIES} PRIVATE ${SDL2_LIBRARIES}
PRIVATE ${PHYSFS_LIBRARY} PRIVATE ${PHYSFS_LIBRARY}
PRIVATE ${PNG_LIBRARIES} PRIVATE ${PNG_LIBRARIES}
PUBLIC CloonelJumpProject
) )
target_include_directories(${PROJECT_NAME} target_include_directories(${PROJECT_NAME}
@ -26,5 +25,10 @@ target_include_directories(${PROJECT_NAME}
PUBLIC ../../lib/tree-3.1/src 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 11)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)