All:
I am trying to fix one last problem with the bundle being created with Cmake.
This problem is unique to OS X, as the app is being created for Windows, and
Linux with no problems.
After all the pieces are built and assembled together into the .app bundle we
call fixup_bundle like so:
IF(APPL
When building a shared library using the NAG Fortran compiler, cmake is
invoking
the compiler with the "-fPIC" option. This is wrong. The correct option
is "-PIC".
I've found I can get things to work if I add the following two lines to my
CMakeLists.txt
file (probably not the right way to fix thi
CHECK_SYMBOL_EXISTS should suffice
Sent from my iPhone
On Feb 17, 2013, at 13:11, Gregor Jasny wrote:
> Hello,
>
> I need a function to check for existing preprocessor symbols.
> Something like
>
> CHECK_C_PREPROCESSOR_SYMBOL_EXISTS("__i386__", X86)
> CHECK_C_PREPROCESSOR_SYMBOL_EXISTS("__x86
Hello,
I need a function to check for existing preprocessor symbols.
Something like
CHECK_C_PREPROCESSOR_SYMBOL_EXISTS("__i386__", X86)
CHECK_C_PREPROCESSOR_SYMBOL_EXISTS("__x86_64__", X64)
I guess a hack would be to (ab)use CHECK_TYPE_SIZE for this, but is the
a more elegant solution?
Thanks,