On Jun 7, 2010, at 12:19 PM, Torri, Stephen CIV NSWCDD, W15 wrote:
>>
>> From: [email protected] on behalf of Mark Moll
>> Sent: Mon 6/7/2010 12:57 PM
>> To: [email protected]
>> Subject: [CMake] try_compile question
>>
>> /opt/local/bin/c++ -isysroot /Developer/SDKs/MacOSX10.5.sdk
>> -mmacosx-version-min=10.5 -o
>> CMakeFiles/cmTryCompileExec.dir/CheckSZencoder.cpp.o -c
>> /Users/mmoll/CMakeModules/CheckSZencoder.cpp
>> /Users/mmoll/CMakeModules/CheckSZencoder.cpp:2:19: error: szlib.h: No such
>> file or directory
>
> It appears you do not have either the include directories set correctly or
> szlib.h is not installed.
The output shows that szlib.h is correctly found here:
/Users/mmoll/external/sandbox/include
The "INCLUDE_DIRECTORIES ${SZ_INCLUDE}” part of the try_compile command doesn’t
seem to work or I don’t understand what it’s supposed to do.
--
Mark
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake