FindCopperspice.cmake ?

Discuss issues related to installing or building
Post Reply
canyonDan
Posts: 2
Joined: Sun Feb 07 2016 9:03 am

FindCopperspice.cmake ?

Post by canyonDan » Sun Feb 07 2016 9:05 am

just curious if this is already floating around?

Thanks!

smil3y
Posts: 8
Joined: Thu Jul 30 2015 5:01 pm

Re: FindCopperspice.cmake ?

Post by smil3y » Mon Feb 08 2016 11:30 am

Hello,

It's not needed actually because CopperSpice ships CopperSpiceConfig, I'll quote the CMake docs:
Config mode attempts to locate a configuration file provided by the package to be found. A cache entry called <package>_DIR is created to hold the directory containing the file. By default the command searches for a package with the name <package>. If the NAMES option is given the names following it are used instead of <package>. The command searches for a file called <name>Config.cmake or <lower-case-name>-config.cmake for each name specified. A replacement set of possible configuration file names may be given using the CONFIGS option. The search procedure is specified below. Once found, the configuration file is read and processed by CMake. Since the file is provided by the package it already knows the location of package contents. The full path to the configuration file is stored in the cmake variable <package>_CONFIG.
For reference see https://cmake.org/cmake/help/v3.0/comma ... ckage.html.

Cheers!

canyonDan
Posts: 2
Joined: Sun Feb 07 2016 9:03 am

Re: FindCopperspice.cmake ?

Post by canyonDan » Mon Feb 08 2016 4:44 pm

thank you!

Post Reply