Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
Merge pull request #90 from Milerius/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Milerius authored Aug 2, 2018
2 parents b965a6e + 3a9750a commit 0d5a455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ enable_testing()
option(SHIVA_BUILD_TESTS "Build tests of shiva C++ engine" OFF)
option(SHIVA_BUILD_EXAMPLES "Build examples of shiva C++ engine" OFF)
option(SHIVA_USE_SFML_AS_RENDERER "Build shiva with SFML rendering" OFF)
option(SHIVA_INSTALL_PLUGINS "Build shiva with SFML rendering" OFF)
option(DISABLE_INSTALL_SHIVA_CORE "Disable install main targets" OFF)
option(USE_PROJECT_IN_AN_IDE "Workaround for install header only library option, put it to ON if u use CLION" OFF)

Expand Down Expand Up @@ -65,7 +66,7 @@ target_link_libraries(shiva INTERFACE

##! Install
if (NOT DISABLE_INSTALL_SHIVA_CORE)
if (NOT USE_PROJECT_IN_AN_IDE)
if (NOT USE_PROJECT_IN_AN_IDE AND NOT SHIVA_INSTALL_PLUGINS)
include(GNUInstallDirs)

include(CMakePackageConfigHelpers)
Expand Down

0 comments on commit 0d5a455

Please sign in to comment.