Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix ARGS_DIRECTORY handling #4

Merged
merged 1 commit into from

2 participants

@grimmy
  • use get_filename_component to get the absolute path of the directory specified by the user.
@grimmy grimmy fix ARGS_DIRECTORY handling
- use get_filename_component to get the absolute path of the directory
  specified by the user.
f7481b0
@jakobwesthoff jakobwesthoff merged commit 01e622f into jakobwesthoff:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 19, 2012
  1. @grimmy

    fix ARGS_DIRECTORY handling

    grimmy authored
    - use get_filename_component to get the absolute path of the directory
      specified by the user.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  vala/UseVala.cmake
View
2  vala/UseVala.cmake
@@ -110,7 +110,7 @@ function(vala_precompile output)
"SOURCES;PACKAGES;OPTIONS;CUSTOM_VAPIS" ${ARGN})
if(ARGS_DIRECTORY)
- set(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${ARGS_DIRECTORY})
+ get_filename_component(DIRECTORY ${ARGS_DIRECTORY} ABSOLUTE)
else(ARGS_DIRECTORY)
set(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endif(ARGS_DIRECTORY)
Something went wrong with that request. Please try again.