View Single Post
  #3  
Old 01-17-2014, 03:45 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by lerxst2112 View Post
Is that directory in your path before the actual perl directory?

You can see how cmake tries to find perl by looking at the various find modules in the modules directory here: http://cmake.org/gitweb?p=cmake.git;a=tree
http://cmake.org/gitweb?p=cmake.git;...0d6670;hb=HEAD

Code:
if(WIN32)
  35   get_filename_component(
  36     ActivePerl_CurrentVersion
  37     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl;CurrentVersion]"
  38     NAME)
  39   set(PERL_POSSIBLE_BIN_PATHS ${PERL_POSSIBLE_BIN_PATHS}
  40     "C:/Perl/bin"
  41     [HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl\\${ActivePerl_CurrentVersion}]/bin
  42     )
  43 endif()
Reply With Quote