Hello,
how can i enforce that a variable will be defined?
Kind Regards
Thorsten Wagner
--
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
On 14.01.2012 20:45, Alexander Neundorf wrote:
what exactly do you mean ?
Do you want to force the user to set some variable explicitely ?
if(NOT DEFINED SOME_VARIABLE)
message(FATAL_ERROR ...)
endif()
Yes, thanks for the fast solution!
Thorsten
--
Powered by www.kitware.com
Visit other
:
TARGET_LINK_LIBRARIES(profil pnt ...)
But the linker returns: cannot find -lpnt.
When the library is saved under /usr/local/lib, everything works fine...
Any suggestions?
Kind Regards
Thorsten Wagner
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com