We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9df316c commit 66603e5Copy full SHA for 66603e5
modules/InSpectr/enabled.cmake
@@ -7,5 +7,9 @@ install(CODE "
7
execute_process(COMMAND \"${CMAKE_COMMAND}\"
8
\"-DSPECTRA_ARCHIVE=${SPECTRA_ARCHIVE}\" \"-DTARGET_DIR=\${CMAKE_INSTALL_PREFIX}/refSpectra\"
9
-P \"${CMAKE_CURRENT_SOURCE_DIR}/InSpectr/extractSpectra.cmake\"
10
+ RESULT_VARIABLE return
11
)
12
+ if(return AND NOT return EQUAL 0)
13
+ message(\"InSpectr: refSpectra folder installation failed (\${return})!\")
14
+ endif()
15
")
0 commit comments