Buildfix for external projects using cloonelgraphics directly.
This commit is contained in:
parent
6ce7b57882
commit
77e2bf539f
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue