Update CMakeLists.txt
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(glad
|
||||
VERSION 1.0
|
||||
LANGUAGES C
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE HEADERS "include/*.h")
|
||||
file(GLOB_RECURSE SOURCES "src/*.c")
|
||||
include_directories("include")
|
||||
|
||||
add_library(glad SHARED ${SOURCES})
|
||||
set_target_properties(glad PROPERTIES LINKER_LANGUAGE C)
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(glad
|
||||
VERSION 1.0
|
||||
LANGUAGES C
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE HEADERS "include/*.h")
|
||||
file(GLOB_RECURSE SOURCES "src/*.c")
|
||||
include_directories("include")
|
||||
|
||||
add_library(glad SHARED ${SOURCES})
|
||||
set_target_properties(glad PROPERTIES LINKER_LANGUAGE C)
|
||||
target_link_libraries(glad PUBLIC GL)
|
||||
|
Reference in New Issue
Block a user