CMake Error at common/CMakeLists.txt:83 (CONFIGURE_FILE):
   configure_file Problem configuring file

The issue being the CONFIGURE_FILE command:

PROJECT(SGICOMMONLIB)
#
# other stuff removed for brevity.
#
SET(DIRNAME pixmaps)
FILE(GLOB DEFAULT_CONFIG_FILES "*.xbm" ".xpm" ".gif" "*.tif" "*.pal" )
FOREACH(MODULE ${DEFAULT_CONFIG_FILES} )
  GET_FILENAME_COMPONENT(CURR_FILENAME ${MODULE} NAME)
  CONFIGURE_FILE(${SGICOMMONLIB_SOURCE_DIR}/${CURR_FILENAME}
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${DIRNAME}/${CURR_FILENAME} COPYONLY
IMMEDIATE )
  INSTALL(FILES ${SGICOMMONLIB_SOURCE_DIR}/${DIRNAME}/${CURR_FILENAME}
                DESTINATION bin/${DIRNAME})
ENDFOREACH(MODULE)


-----------------------------------------------------------------------------------------------
I think the reason I'm having this trouble is that
CMAKE_RUNTIME_OUTPUT_DIRECTORY isn't defined.  But the error message
doesn't say anything useful.
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to