Add PROJECT_BINARY_DIR to include directories in CMake configuration

This commit is contained in:
scawful
2024-12-31 15:59:03 -05:00
parent 01eec1432a
commit cbec34dacf
4 changed files with 4 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ if (YAZE_BUILD_LIB)
${CMAKE_SOURCE_DIR}/src/ ${CMAKE_SOURCE_DIR}/src/
${PNG_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS}
${SDL2_INCLUDE_DIR} ${SDL2_INCLUDE_DIR}
${PROJECT_BINARY_DIR}
) )
target_link_libraries( target_link_libraries(

View File

@@ -24,6 +24,7 @@ target_include_directories(
${CMAKE_SOURCE_DIR}/src/ ${CMAKE_SOURCE_DIR}/src/
${PNG_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS}
${SDL2_INCLUDE_DIR} ${SDL2_INCLUDE_DIR}
${PROJECT_BINARY_DIR}
) )
target_link_libraries( target_link_libraries(

View File

@@ -41,6 +41,7 @@ target_include_directories(
${PNG_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS}
${SDL2_INCLUDE_DIR} ${SDL2_INCLUDE_DIR}
${GLEW_INCLUDE_DIRS} ${GLEW_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}
) )
target_link_libraries( target_link_libraries(

View File

@@ -32,6 +32,7 @@ target_include_directories(
${ASAR_INCLUDE_DIR} ${ASAR_INCLUDE_DIR}
${SDL2_INCLUDE_DIR} ${SDL2_INCLUDE_DIR}
${PNG_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}
) )
target_link_libraries( target_link_libraries(