App: Remove redundant CMakeLists directive
This commit is contained in:
parent
005fceafd9
commit
61b9558c47
@ -15,17 +15,15 @@ find_package(SDL2 CONFIG REQUIRED)
|
|||||||
find_package(OpenGL REQUIRED)
|
find_package(OpenGL REQUIRED)
|
||||||
find_package(GLEW REQUIRED)
|
find_package(GLEW REQUIRED)
|
||||||
target_link_libraries(App PRIVATE
|
target_link_libraries(App PRIVATE
|
||||||
AppLib
|
AppLib
|
||||||
SDL2::SDL2
|
SDL2::SDL2
|
||||||
SDL2::SDL2main
|
SDL2::SDL2main
|
||||||
OpenGL::GL
|
OpenGL::GL
|
||||||
GLEW::GLEW
|
GLEW::GLEW
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(App PUBLIC "${CMAKE_SOURCE_DIR}/App/include")
|
|
||||||
target_include_directories(App PUBLIC "${CMAKE_SOURCE_DIR}/AppLib/include/AppLib")
|
target_include_directories(App PUBLIC "${CMAKE_SOURCE_DIR}/AppLib/include/AppLib")
|
||||||
|
|
||||||
|
|
||||||
if (CMAKE_VERSION VERSION_GREATER 3.12)
|
if (CMAKE_VERSION VERSION_GREATER 3.12)
|
||||||
set_property(TARGET App PROPERTY CXX_STANDARD 20)
|
set_property(TARGET App PROPERTY CXX_STANDARD 20)
|
||||||
endif()
|
endif()
|
||||||
Loading…
x
Reference in New Issue
Block a user