mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
CMake: simplify check if library was found
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
This commit is contained in:
parent
f555fa787f
commit
f667129ed9
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Darwin"
|
|||
)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED SSRF_CORELIB OR SSRF_CORELIB STREQUAL "SSRF_CORELIB-NOTFOUND")
|
||||
if(NOT SSRF_CORELIB)
|
||||
message(FATAL_ERROR " libsubsurface_corelib.a not found. Did you build Subsurface previously?")
|
||||
else()
|
||||
message(STATUS " Found ${SSRF_CORELIB}")
|
||||
|
|
Loading…
Reference in a new issue