On 03.11.2016 19:32, Tiago Macarios wrote:


And I am building it like so:
mkdir build
cd build
cmake ..
cmake --build . --config Release
cpack -G WIX

You are using a multi-configuration generator (Visual Studio).

As you do in the build try specifying a configuration to be packaged when invoking cpack (the "PACKAGE" target that cmake generates does this by default):
e.g. cpack -C Release -G WIX

The install properties are only generated for the known configurations.

Nils
--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to