1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

support cmake 2.8.11

This commit is contained in:
Oliver Giles 2015-11-19 21:43:57 +01:00
parent d44d5ba0e6
commit fadabbf9f6

View File

@ -33,7 +33,7 @@ macro(generate_compressed_bins BASEDIR)
foreach(FILE ${ARGN})
set(COMPRESSED_FILE "${FILE}.z")
set(OUTPUT_FILE "${FILE}.o")
get_filename_component(DIR ${FILE} DIRECTORY)
get_filename_component(DIR ${FILE} PATH)
if(DIR)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${DIR})
endif()