Fix Cmake
This commit is contained in:
parent
7e60bc8088
commit
43c0633b09
|
@ -1,11 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.1)
|
||||
project(fastNoiseSIMD)
|
||||
|
||||
|
||||
# Define MY_SOURCES to be a list of all the source files for my game
|
||||
file(GLOB_RECURSE MY_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/FastNoiseSIMD/*.cpp")
|
||||
|
||||
|
||||
add_library(fastNoiseSIMD)
|
||||
target_sources(fastNoiseSIMD PRIVATE ${MY_SOURCES})
|
||||
target_include_directories(fastNoiseSIMD PUBLIC "FastNoiseSIMD")
|
|
@ -3,7 +3,5 @@ project(gl2d)
|
|||
|
||||
add_library(gl2d)
|
||||
target_sources(gl2d PRIVATE "src/gl2d.cpp")
|
||||
target_include_directories(gl2d PUBLIC include "${CMAKE_SOURCE_DIR}/thirdparty/glm")
|
||||
#target_include_directories(gl2d PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
#target_include_directories(gl2d PUBLIC include)
|
||||
target_include_directories(gl2d PUBLIC include "${CMAKE_SOURCE_DIR}/libs/glm")
|
||||
target_link_libraries(gl2d PUBLIC glad stb_image stb_truetype)
|
|
@ -1,6 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.1)
|
||||
project(glad)
|
||||
|
||||
add_library(glad)
|
||||
target_sources(glad PRIVATE src/glad.c)
|
||||
target_include_directories(glad PUBLIC include)
|
Loading…
Reference in New Issue