Skip to content

Commit

Permalink
support cmake 2.8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ohwgiles committed Nov 19, 2015
1 parent d44d5ba commit fadabbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fadabbf

Please sign in to comment.