Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2018-12-03 12:48:06 +0300
committerVojtech Kral <vojtech@kral.hk>2018-12-03 12:48:59 +0300
commit2bdb86c7ed2d621334653db67e2a2b17edd0f71c (patch)
tree31044832594a56a732da1ec3e765c7f3946d9b6a /CMakeLists.txt
parente1c90c83e83615d26bd16838dd2eae079cd8619b (diff)
deps: warn that wx-config can't be moved into another location
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7bee6c59b..7e094a85f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,11 +44,12 @@ endif ()
# CMAKE_PREFIX_PATH is used to point CMake to the remaining dependencies (Boost, TBB, ...)
# We pick it from environment if it is not defined in another way
-if(NOT DEFINED CMAKE_PREFIX_PATH)
- if(DEFINED ENV{CMAKE_PREFIX_PATH})
+if (NOT DEFINED CMAKE_PREFIX_PATH)
+ if (DEFINED ENV{CMAKE_PREFIX_PATH})
set(CMAKE_PREFIX_PATH "$ENV{CMAKE_PREFIX_PATH}")
- endif()
-endif()
+ endif ()
+endif ()
+message(STATUS "CMAKE_PREFIX_PATH: ${CMAKE_PREFIX_PATH}")
# Add our own cmake module path.
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules/)