Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 3.10)

if (CMAKE_VERSION VERSION_LESS 3.0)
project(OgreProceduralMain)
else()
cmake_policy(SET CMP0048 NEW)
project(OgreProceduralMain VERSION 0.3.0)
endif()

if (UNIX)
include(GNUInstallDirs)
Expand Down Expand Up @@ -168,7 +164,10 @@ use_precompiled_header(OgreProcedural
install(
TARGETS ${CMAKE_PROJECT_NAME}
EXPORT OgreProceduralTargets
RUNTIME LIBRARY ARCHIVE
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
INCLUDES DESTINATION include/OgreProcedural
)
install(
EXPORT OgreProceduralTargets
Expand Down