Skip to content
Snippets Groups Projects
Commit b347f6e5 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: wrong indexes in SuperBuild macro

parent 3a35bef9
No related branches found
No related tags found
No related merge requests found
...@@ -148,16 +148,16 @@ endmacro(SUPERBUILD_PATCH_SOURCE) ...@@ -148,16 +148,16 @@ endmacro(SUPERBUILD_PATCH_SOURCE)
macro(SUPERBUILD_UPDATE_CMAKE_VARIABLES PROJECT with_prefix) macro(SUPERBUILD_UPDATE_CMAKE_VARIABLES PROJECT with_prefix)
if("${ARGV3}" STREQUAL "") if("${ARGV2}" STREQUAL "")
string(TOLOWER ${PROJECT} lib_file_we) string(TOLOWER ${PROJECT} lib_file_we)
else() else()
set(lib_file_we "${ARGV3}") set(lib_file_we "${ARGV2}")
endif() endif()
if("${ARGV4}" STREQUAL "") if("${ARGV3}" STREQUAL "")
set(include_dir "include") set(include_dir "include")
else() else()
set(include_dir "include/${ARGV4}") set(include_dir "include/${ARGV3}")
endif() endif()
if(WIN32) if(WIN32)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment