|
|
@ -287,13 +287,13 @@ endif() |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# OpenCV compiler and linker options |
|
|
|
# OpenCV compiler and linker options |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
include(cmake/OpenCVCompilerOptions.cmake REQUIRED) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# In case of Makefiles if the user does not setup CMAKE_BUILD_TYPE, assume it's Release: |
|
|
|
# In case of Makefiles if the user does not setup CMAKE_BUILD_TYPE, assume it's Release: |
|
|
|
if(CMAKE_GENERATOR MATCHES "Makefiles|Ninja" AND "${CMAKE_BUILD_TYPE}" STREQUAL "") |
|
|
|
if(CMAKE_GENERATOR MATCHES "Makefiles|Ninja" AND "${CMAKE_BUILD_TYPE}" STREQUAL "") |
|
|
|
set(CMAKE_BUILD_TYPE Release) |
|
|
|
set(CMAKE_BUILD_TYPE Release) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include(cmake/OpenCVCompilerOptions.cmake REQUIRED) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# ---------------------------------------------------------------------------- |
|
|
|
# Use statically or dynamically linked CRT? |
|
|
|
# Use statically or dynamically linked CRT? |
|
|
|