2012/10/24 Clinton Stimpson <[email protected]>:
>>
>> Looks good, I'll give it a more thorough look & test tomorrow or the day
>> after.
>
> Ok thanks.  I'll go ahead and put in on stage then.
>
> Also, when I run the tests, CPackComponents fails for me, and its because I
> don't have nsis installed on this Linux machine.  I'm looking at
> Tests/CMakeLists.txt and I don't see a way to turn off that test.  Only on
> Windows does it check the existence of nsis and disables the test.  Or am I
> looking at it wrong?

The
CTEST_RUN_CPackComponents is not a problem on linux.
and from my understanding this

    if(NSIS_MAKENSIS_EXECUTABLE)
      set(CPackComponents_EXTRA_OPTIONS ${CPackComponents_EXTRA_OPTIONS}
        -DCPACK_BINARY_NSIS:BOOL=ON)
    endif()

should protect against trying to use NSIS generator on any platform.
because NSIS_MAKENSIS_EXECUTABLE
comes from:
find_program(NSIS_MAKENSIS_EXECUTABLE NAMES makensis ...)

which is not guarded by any platform specific test.

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to