[CMake] cpack issues

Andrea Crotti andrea.crotti.0 at gmail.com
Wed Feb 22 09:16:57 EST 2012


Alright then I now actually get an installer which I can click on, and 
cpack doesn't give any more errors.

However, when I try to run the executable I get a
"executable..exe The specified path does not exist.."

which is quite a weird error, because it's the same path that I'm 
clicking, and it does exists :S

Has anyone seen this?
I just changed the destination to the ${PROJECT_NAME}:
install(
   DIRECTORY ${EGG_BUILD_DIRECTORY}
   DESTINATION ${PROJECT_NAME}
   )

but in general, how would I make sure that the final installer will try 
to install the software
in $ENV{USERPROFILE} for example?

Writing it in the destination is clearly wrong, but is there another way 
then?

Thanks,
Andrea


More information about the CMake mailing list