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

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFormerLurker <hochgebe@gmail.com>2020-05-12 22:16:12 +0300
committerFormerLurker <hochgebe@gmail.com>2020-05-12 22:16:12 +0300
commit7f09f9bacd3021c76a92a5864b08df775f7041cd (patch)
tree3c3c39d7d76f5607344de29c94d7a85cd3737e79 /PyArcWelder
parentbb9f17caf0ea5b7cfe256bea32847a87a97676f1 (diff)
Remove faulty if in cmake
Diffstat (limited to 'PyArcWelder')
-rw-r--r--PyArcWelder/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/PyArcWelder/CMakeLists.txt b/PyArcWelder/CMakeLists.txt
index 773ff07..f0b71fe 100644
--- a/PyArcWelder/CMakeLists.txt
+++ b/PyArcWelder/CMakeLists.txt
@@ -40,12 +40,10 @@ endif()
target_link_libraries(${PROJECT_NAME} ArcWelder GcodeProcessorLib)
# On Windows, it is required to link to the Python libraries
-if(WIN32 or APPLE)
+if(WIN32 OR APPLE)
target_link_libraries(${PROJECT_NAME} ArcWelder GcodeProcessorLib ${PYTHON_LIBRARIES})
endif()
-if(MACOS)
-
# Expose the GcodeProcessorLib, and ArcWelder's Definitions.
set(${PROJECT_NAME}_DEFINITIONS ${GcodeProcessorLib_DEFINITIONS}
${ArcWelder_DEFINITIONS}