Commit 43f47f3b authored by Rashad Kanavath's avatar Rashad Kanavath

PKG: set GENERATE_PACKAGE to ON when building directly from Packaging

parent 824e4fd4
......@@ -16,6 +16,7 @@ option(GENERATE_XDK "Generate XDK for OTB development" OFF)
set(OUT_OF_SOURCE_BUILD FALSE)
if(PROJECT_NAME STREQUAL "OTBPackaging")
set(OUT_OF_SOURCE_BUILD TRUE)
set(GENERATE_PACKAGE ON)
endif()
if(NOT GENERATE_PACKAGE AND NOT GENERATE_XDK)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment