make cmake less stupid

This commit is contained in:
DarthArgus
2015-04-09 14:27:15 -05:00
parent 83537c9291
commit 909eaeb715
+4
View File
@@ -26,6 +26,10 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# hacky workaround but since we always use these paths...who cares?
SET(JAVA_INCLUDE_PATH2 "$ENV{JAVA_HOME}/include")
SET(JAVA_INCLUDE_PATH "$ENV{JAVA_HOME}/include")
# Expand {libarch} occurences to java_libarch subdirectory(-ies) and set ${_var}
macro(java_append_library_directories _var)
# Determine java arch-specific library subdir