mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-20 03:36:37 +02:00
update all cmake files to version 3.9
other misc cmake fixes version 3.9 allows for ipo (lto)
This commit is contained in:
7
external/glad-debug/CMakeLists.txt
vendored
7
external/glad-debug/CMakeLists.txt
vendored
@ -1,4 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
||||
|
||||
project(glad C)
|
||||
|
||||
set(C_FILES
|
||||
@ -15,8 +16,6 @@ add_library(glad ${C_FILES} ${H_FILES})
|
||||
target_include_directories(glad PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(glad
|
||||
dl
|
||||
)
|
||||
target_link_libraries(glad dl)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user