Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ if(MSVC)
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${PROJECT_BINARY_DIR}/lib/Release)
endif ()

# Makefile generators cannot create test_prep targets for LAPACK test names
# containing colons (#6294). CMake reads this setting from the top-level directory.
if(CMAKE_GENERATOR MATCHES "Makefiles$" AND NOT DEFINED CMAKE_SKIP_TEST_PREP_TARGETS)
set(CMAKE_SKIP_TEST_PREP_TARGETS ON)
endif()

# get obj vars into format that add_library likes: $<TARGET_OBJS:objlib> (see http://www.cmake.org/cmake/help/v3.0/command/add_library.html)
set(TARGET_OBJS "")
foreach (SUBDIR ${SUBDIRS})
Expand Down
Loading