I'm running CMake 3.8.0 on Ubuntu 14. I invoke the following:
find_package(PNG REQUIRED)
Which gives me the output in CMake:
Could NOT find PNG (missing: PNG_LIBRARY) (found version "1.2.50")
The CMakeCache.txt file has these variables set:
PNG_LIBRARY_DEBUG:FILEPATH=PNG_LIBRARY_DEBUG-NOTFOUND
after find_package is invoked, several variables will be set. You use these to
augment your compiler and linker information, e.g.:
target_include_directories(mytarget $ZLIB_INCLUDE_DIRS)
target_link_libraries(mytarget $ZLIB_LIBRARIES)
…and so on for other modules you find (OpenSSL, for example).
Although cmake uses the path I supplied for OpenSSL and Zlib, I do not see the
–I flag being used in compiling the code. (I set VERBOSE=1 to make to see what
it does.)
When I run ‘ldd’ against the resulting .so files, reference to libssl.so or
libcrypto.so is empty, i.e ‘libssl.so => not found’
Hello,
for my project I have a sub dir with test case which feeds the tests
'*.input' and allows to check to output '*.expected'. For documentation
purpose, I have a python script which generates a TestMatrix.rst file.
Using CMake I have:
dir structure:
$root/{src,include,utils,test}
test/
Thanks for the help. I will try that.
Alex Chen
From: Michael Ellery
Date: Thursday, April 20, 2017 at 8:13 PM
To: Alex Chen
Cc: CMake
Subject: Re: [CMake] Overriding the include path, library path of OpenSSL, Zlib
and libcurl
It doesn’t look like that find module directly support
Hi Robert,
I would use
file(TO_NATIVE_PATH "${_dir}" _dir) and file(TO_CMAKE_PATH "${_dir}" _dir)
hope that helps,
Cheers, Volker
Am 21/04/2017 um 15:45 schrieb Robert Dailey:
I guess the only feedback I really would like is if the path
normalization I'm doing for CMAKE_ANDROID_NDK is necess
Thanks Nils for the input .
On Fri, Apr 21, 2017 at 7:19 PM, Nils Gladitz wrote:
> On 04/21/2017 03:40 PM, aishwarya selvaraj wrote:
>
> add_library(fftw STATIC IMPORTED)
>
> [...]
>
> TARGET_LINK_LIBRARIES(prose fftw )
>
> [...]
>
> make[2]: *** No rule to make target `fftw-NOTFOUND', needed b
On 04/21/2017 03:40 PM, aishwarya selvaraj wrote:
add_library(fftw STATIC IMPORTED)
[...]
TARGET_LINK_LIBRARIES(prose fftw )
[...]
make[2]: *** No rule to make target `fftw-NOTFOUND', needed by
`prose'. Stop.
You are creating an IMPORTED target "fftw" but you aren't populating its
IMPORT
I guess the only feedback I really would like is if the path
normalization I'm doing for CMAKE_ANDROID_NDK is necessary (converting
backslashes to forward slashes). Will CMake translate the backslashes
properly?
Sometimes I use CMAKE_ANDROID_NDK in custom commands and custom
targets to build absol
Hi all ,
Below is my CMakelist.txt. I'm getting an error as mentioned below .
I'm not to rectify it .
Could anyone help me out here please ?
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(PROSE)
ExternalProject_Add(project_fftw
#GIT_REPOSITORY https://github.com/FFTW/fftw3
URL "http://www.fft
Thanks a lot for the context Michael !
On Thu, 20 Apr 2017 at 22:03 Michael Kruse
wrote:
> The cmake mailing list may not have sufficient context, so let me add
> some details.
>
> Polly is an extension library for LLVM. Both can be configured in
> multiple configurations:
>
> LLVM can be
> - A
11 matches
Mail list logo