Skip to content
Snippets Groups Projects
Commit c1813091 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fixed find module

parent d2613f6d
No related branches found
No related tags found
No related merge requests found
Pipeline #57660 passed
...@@ -13,8 +13,10 @@ if(${_PystencilsSfgFindResult} EQUAL 0) ...@@ -13,8 +13,10 @@ if(${_PystencilsSfgFindResult} EQUAL 0)
set( PystencilsSfg_FOUND ON ) set( PystencilsSfg_FOUND ON )
endif() endif()
if(${PystencilsSfg_FIND_REQUIRED} AND (NOT ${PystencilsSfg_FOUND})) if(DEFINED PystencilsSfg_FIND_REQUIRED)
message( FATAL_ERROR "Could not find pystencils-sfg in current Python environment." ) if(NOT ${PystencilsSfg_FOUND})
message( FATAL_ERROR "Could not find pystencils-sfg in current Python environment." )
endif()
endif() endif()
if(${PystencilsSfg_FOUND}) if(${PystencilsSfg_FOUND})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment