diff --git a/compiler/CMakeLists.txt b/compiler/CMakeLists.txt index 58fe46cfa..806bad535 100644 --- a/compiler/CMakeLists.txt +++ b/compiler/CMakeLists.txt @@ -20,17 +20,17 @@ endif() # CMake library generation settings. set(BUILD_SHARED_LIBS - OFF - CACHE BOOL "Default to building a static mondo-lib") + OFF + CACHE BOOL "Default to building a static mondo-lib") set(CMAKE_PLATFORM_NO_VERSIONED_SONAME - ON - CACHE BOOL "Python soname linked libraries are bad") + ON + CACHE BOOL "Python soname linked libraries are bad") set(CMAKE_VISIBILITY_INLINES_HIDDEN - ON - CACHE BOOL "Hide inlines") + ON + CACHE BOOL "Hide inlines") # The -fvisibility=hidden option only works for static builds. -if(BUILD_SHARED_LIBS AND(CMAKE_CXX_VISIBILITY_PRESET STREQUAL "hidden")) +if(BUILD_SHARED_LIBS AND (CMAKE_CXX_VISIBILITY_PRESET STREQUAL "hidden")) message(FATAL_ERROR "CMAKE_CXX_VISIBILITY_PRESET=hidden is incompatible \ with BUILD_SHARED_LIBS.") endif() @@ -110,7 +110,7 @@ if(CONCRETELANG_DATAFLOW_EXECUTION_ENABLED) include_directories(SYSTEM ${HPX_INCLUDE_DIRS}) list(APPEND CMAKE_MODULE_PATH "${HPX_CMAKE_DIR}") add_compile_options(-DCONCRETELANG_DATAFLOW_EXECUTION_ENABLED - -DHPX_DEFAULT_CONFIG_FILE="${PROJECT_SOURCE_DIR}/hpx.ini") + -DHPX_DEFAULT_CONFIG_FILE="${PROJECT_SOURCE_DIR}/hpx.ini") else() message(STATUS "ConcreteLang dataflow execution disabled.") diff --git a/compiler/lib/Runtime/CMakeLists.txt b/compiler/lib/Runtime/CMakeLists.txt index 56355f608..0c14673b1 100644 --- a/compiler/lib/Runtime/CMakeLists.txt +++ b/compiler/lib/Runtime/CMakeLists.txt @@ -6,10 +6,7 @@ if(CONCRETELANG_DATAFLOW_EXECUTION_ENABLED) endif() if(CONCRETELANG_CUDA_SUPPORT) - target_link_libraries( - ConcretelangRuntime - PRIVATE - concrete_cuda) + target_link_libraries(ConcretelangRuntime PRIVATE concrete_cuda) endif() if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") diff --git a/compiler/tests/end_to_end_tests/CMakeLists.txt b/compiler/tests/end_to_end_tests/CMakeLists.txt index cbbd9f1ea..f178e224d 100644 --- a/compiler/tests/end_to_end_tests/CMakeLists.txt +++ b/compiler/tests/end_to_end_tests/CMakeLists.txt @@ -11,7 +11,6 @@ include_directories(${CONCRETE_OPTIMIZER_DIR}/concrete-optimizer-cpp/src/cpp) if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") link_libraries( - # usefull for old gcc versions -Wl,--allow-multiple-definition # static concrete-optimizer and concrete shares some code )