ct: Re: [CMake] ExternalProject_Add with flexible install commands
Do you need to do it indirectly through a variable like this?
If you just use:
INSTALL_COMMAND ""
directly in the ExternalProject_Add call, it will work.
If you really need to do it indirectly, there's probably a way,
t separated from preceding token by whitespace.
>
> Kent
>
> ____
> From: Petr Kmoch <petr.km...@gmail.com>
> Sent: Thursday, February 25, 2016 2:46 AM
> To: Knox, Kent
> Cc: cmake@cmake.org
> Subject: Re: [CMake] ExternalProject_Add wi
..@gmail.com>
Sent: Thursday, February 25, 2016 2:46 AM
To: Knox, Kent
Cc: cmake@cmake.org
Subject: Re: [CMake] ExternalProject_Add with flexible install commands
Hi Kent,
I believe it's not "empty quotes" that disables the install command, it's the
empty string. So you should
Hi Kent,
I believe it's not "empty quotes" that disables the install command, it's
the empty string. So you should not escape the quotes:
###
# Default behavior is to NOT install library, empty quotes should disable
install
set( libxxx_inst_comm INSTALL_COMMAND "" )
# Build
I am having a problem passing parameters as a variable into
ExternalProject_Add(). I seem to be fighting syntax, i've tried many different
variants with the set() statement
###
# Default behavior is to NOT install library, empty quotes should disable
install
set(