mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:23:24 +00:00
Windows: Fix smtk-import Build.
Fix a copy/paste error introduced in #4273. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
a75c9c3872
commit
48b4308a7d
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ if(DEFINED ENV{CANONICALVERSION})
|
||||||
set(CANONICAL_VERSION_STRING $ENV{CANONICALVERSION})
|
set(CANONICAL_VERSION_STRING $ENV{CANONICALVERSION})
|
||||||
else()
|
else()
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND bash ${CMAKE_TOP_SRC_DIR}/scripts/get-version.sh
|
COMMAND bash ${CMAKE_TOP_SRC_DIR}/../scripts/get-version.sh
|
||||||
WORKING_DIRECTORY ${CMAKE_TOP_SRC_DIR}
|
WORKING_DIRECTORY ${CMAKE_TOP_SRC_DIR}
|
||||||
OUTPUT_VARIABLE CANONICAL_VERSION_STRING
|
OUTPUT_VARIABLE CANONICAL_VERSION_STRING
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
@ -15,7 +15,7 @@ if(DEFINED ENV{CANONICALVERSION_4})
|
||||||
set(CANONICAL_VERSION_STRING_4 $ENV{CANONICALVERSION_4})
|
set(CANONICAL_VERSION_STRING_4 $ENV{CANONICALVERSION_4})
|
||||||
else()
|
else()
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND bash ${CMAKE_TOP_SRC_DIR}/scripts/get-version.sh 4
|
COMMAND bash ${CMAKE_TOP_SRC_DIR}/../scripts/get-version.sh 4
|
||||||
WORKING_DIRECTORY ${CMAKE_TOP_SRC_DIR}
|
WORKING_DIRECTORY ${CMAKE_TOP_SRC_DIR}
|
||||||
OUTPUT_VARIABLE CANONICAL_VERSION_STRING_4
|
OUTPUT_VARIABLE CANONICAL_VERSION_STRING_4
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
|
Loading…
Add table
Reference in a new issue