Mercurial > audio-send
comparison CMakeLists.txt @ 11:17ace5a879b2 hardcoded_but_working
fixed JNI include problem
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 28 Oct 2011 00:27:59 -0700 |
parents | c54fe2f77030 |
children |
comparison
equal
deleted
inserted
replaced
10:075e9e257e20 | 11:17ace5a879b2 |
---|---|
413 SOVERSION ${LIB_MAJOR_VERSION}) | 413 SOVERSION ${LIB_MAJOR_VERSION}) |
414 IF(WIN32 AND NOT LIBTYPE STREQUAL "STATIC") | 414 IF(WIN32 AND NOT LIBTYPE STREQUAL "STATIC") |
415 SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES PREFIX "") | 415 SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES PREFIX "") |
416 ENDIF() | 416 ENDIF() |
417 | 417 |
418 # RLM link jni the dumb way for now: | 418 |
419 | 419 # RLM: link java |
420 #INCLUDE_DIRECTORIES("/opt/jdk/include/") | |
421 #INCLUDE_DIRECTORIES("/opt/jdk/include/linux") | |
422 find_package (JNI REQUIRED) | 420 find_package (JNI REQUIRED) |
423 if (JNI_FOUND) | 421 if (JNI_FOUND) |
424 include_directories(${JNI_INCLUDE_DIRS}) | 422 include_directories(${JNI_INCLUDE_DIRS}) |
425 endif (JNI_FOUND) | 423 endif (JNI_FOUND) |
426 | 424 |