Eduardo Alberto Hernández Muñoz wrote:
CMake complains about not finding the file before creating the makefile.
-Coz
This works for me just fine:
message(STATUS "checking openal version")
TRY_RUN (
OPENAL_VERSION_1_1
OPENAL_COMPILED
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/check_openal_version_1_1.cpp
)
message("${OPENAL_VERSION_1_1}")
message("${OPENAL_COMPILED}")
----check_openal_version_1_1.cpp----
int main() { return 0;}
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake