Skip to content

Commit

Permalink
[c][cpp] Don't set CMake install dir to "./", closes EsotericSoftware…
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Jul 18, 2023
1 parent 0ca3c8e commit 9b9d02a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
@@ -1,7 +1,9 @@
cmake_minimum_required(VERSION 3.17)
project(spine)

set(CMAKE_INSTALL_PREFIX "./")
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR} CACHE PATH "Install location" FORCE)
endif()
set(CMAKE_VERBOSE_MAKEFILE ON)
set(SPINE_SFML FALSE CACHE BOOL FALSE)
set(SPINE_SANITIZE FALSE CACHE BOOL FALSE)
Expand Down

0 comments on commit 9b9d02a

Please sign in to comment.