Included Graphics libraries
This commit is contained in:
parent
fdd4e79734
commit
69f97c8621
6 changed files with 43 additions and 3 deletions
|
@ -3,6 +3,25 @@
|
|||
#
|
||||
cmake_minimum_required (VERSION 3.8)
|
||||
|
||||
# Add source to this project's executable.
|
||||
add_executable (ComplexPlotting "main.cpp")
|
||||
if(WIN32)
|
||||
file(GLOB SDL2_LIBRARIES
|
||||
${SDL2_INCLUDES}/*.lib
|
||||
)
|
||||
else()
|
||||
|
||||
endif()
|
||||
|
||||
# Add source to this project's executable.
|
||||
add_executable (ComplexPlotting
|
||||
"main.cpp"
|
||||
)
|
||||
|
||||
target_include_directories(ComplexPlotting PRIVATE
|
||||
${SDL2_INCLUDES}
|
||||
${CMAKE_SOURCE_DIR}/SDLFramework/src/sdlf
|
||||
)
|
||||
|
||||
target_link_libraries(ComplexPlotting PRIVATE
|
||||
${SDL2_LIBRARIES}
|
||||
sdlf
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue